import time
print('process...', end='', flush=True)
time.sleep(2)
print('Done', flush=True)